import xlrd
from xlutils.copy import copy
wb=xlrd.open_workbook('count应用.xls')
ws=wb.sheet_by_name('替换表')
nwb=copy(wb)
nws=nwb.get_sheet('替换表')
n=0
while n<ws.nrows:
    val=ws.cell_value(n,0)
    print(val.replace('-','(',1).replace('-',')',1))
    n+=1
